<?php if(!$admin&&$adminuser->police_number!='admin'):?>
<style>
#setting{display: none;}
</style>
<?php endif ?>
<header id="header">
    <div id="topbar">
        <div class="pull-right" id="topnav"><div class="dropdown" id="userMenu">
                <a href="<?php echo $this->createLink('user', 'userprofile'); ?>" data-toggle="modal">
                    <i class="icon-user"></i>
                    <?php echo $this->app->user->name;?> </a>
                    </li></ul></div><a href="<?php echo $this->createLink('user', 'logout');?>">退出</a>
            <div class="dropdown"><a href="<?php echo $this->createLink('user', 'index');?>">前台 </a>
            </div>
        </div>
        <h5 id="companyname">
            管理系统    </h5>
    </div>
    <nav id="mainmenu">
        <?php commonModel::printMainmenu($this->moduleName);?>
    </nav>
    <nav id="modulemenu">
        <ul class="nav">
            <li data-id="account"><span id="myname"><i class="icon-user"></i> <?php echo $this->app->user->name;?>&nbsp;<i class="icon-angle-right"></i>&nbsp;</span></li>
            <?php commonModel::printModuleMenu($this->moduleName);?>

            </li>
        </ul>
    </nav>
</header>
<div id="wrap">
    <div class="outer" style="min-height: 800px">